/**
 * 主界面左侧导航菜单store.
 * @author 马玉德
 * @version 1.0.0, 2015-07-07
 */
Ext.define('MyApp.store.TreeMenuStore',{
    extend: 'Ext.data.TreeStore',
    requires: 'MyApp.model.MenuModel',
    model: 'MyApp.model.MenuModel',
    //autoLoad: true,
    proxy: {
        type: 'ajax',
        actionMethods: 'POST',
        url: '../../../menu/grid_menu.action',
        reader: {
            type: 'json',
            rootProperty: '',
            successProperty: 'success'
        }
    }
});
